package com.example.demo.bean;

import org.springframework.validation.ObjectError;

import javax.imageio.ImageIO;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;

/**
 * Created by czc-pual on 2019/1/9.
 */
public class Photo {
    public static void main(String[] args) throws IOException {
        final String o = "Hello world";
        foo(o);
        System.out.println(o);

    }


    public static void foo( Object o) {
        o = "bye";
        System.out.println("foo的o:"+o);
    }

}
